package com.snow.demo.app.security;

public class CoreExceptionCodes {
    public static final CodeMessage SUCCESS = new CodeMessage(0, "成功");
    public static final CodeMessage UNKNOWN_ERROR = new CodeMessage(999999, "系统异常");
    public static final CodeMessage PARAM_IS_NULL = new CodeMessage(20001, "参数为空");
    public static final CodeMessage PARAM_IS_ILLEGAL = new CodeMessage(20002, "参数非法");
    public static final CodeMessage ALGORITHM_IS_ILLEGAL = new CodeMessage(60001, "加密算法不存在");
    public static final CodeMessage BOUNCY_CASTLE_PROVIDER_NO_EXIS = new CodeMessage(60002, "加密算法不存在");
    public static final CodeMessage ENCRYPT_FAIL = new CodeMessage(60003, "加密失败");
    public static final CodeMessage DECRYPT_FAIL = new CodeMessage(60004, "解密失败");
    public static final CodeMessage ENCRYPT_FILE_CLOSE_FAIL = new CodeMessage(60005, "加密文件关闭失败");
    public static final CodeMessage DECRYPT_FILE_CLOSE_FAIL = new CodeMessage(60006, "解密文件关闭失败");
    public static final CodeMessage DES_UTIS_KEY_GEN_ERROR = new CodeMessage(60007, "DES的key生成失败 ");
    public static final CodeMessage ENCRYPT_SHA_256_FAIL = new CodeMessage(60008, "SHA256加密失败");
    public static final CodeMessage ENCRYPT_DES_FAIL = new CodeMessage(60009, "DES加密失败");
    public static final CodeMessage DECRYPT_DES_FAIL = new CodeMessage(60010, "DES解密失败");
    public static final CodeMessage RSA_UTIS_KEY_GEN_ERROR = new CodeMessage(60011, "RSA的key生成失败 ");
    public static final CodeMessage RSA_CIPHER_GET_FAIL = new CodeMessage(60012, "RSA的获取Cipher失败 ");
    public static final CodeMessage RSA_GENERATOR_KEY_FAIL = new CodeMessage(60013, "RSA生成秘钥对失败 ");
    public static final CodeMessage ENCRYPT_RSA_FAIL = new CodeMessage(60014, "RSA加密失败");
    public static final CodeMessage DECRYPT_RSA_FAIL = new CodeMessage(60015, "RSA解密失败");
    public static final CodeMessage HTTP_CODE_WRONG = new CodeMessage(61000, "Http请求返回码错误");
    public static final CodeMessage CACHE_BEAN_FAIL = new CodeMessage(62000, "对象拷贝失败");

    CoreExceptionCodes() {
    }
}
